﻿<%@ Page Title="Loginpage" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="LootPoints.Pages.Login" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder" runat="server">

    <style type="text/css">
        #loginControl {
            margin-top: 30px;
            margin-left: auto;
            margin-right: auto;
            width: 200px;
        }
        .loginControl {
            font-family: Constantia;
            font-size: 11px;
        }
    </style>

    <div id="loginControl">
        <p>
            Charactername:
            <asp:Label ID="lblUsername" runat="server" CssClass="errorp" Text="" />
            <asp:RequiredFieldValidator runat="server" ID="reqUsername" CssClass="errorp" ControlToValidate="tbUsername" ErrorMessage="Character is required!" ValidationGroup="loginControls">*</asp:RequiredFieldValidator><br />
            <asp:TextBox ID="tbUsername" runat="server" Width="196px" CssClass="loginControl" ValidationGroup="loginControls" /><br />
            Password:
            <asp:Label ID="lblPassword" runat="server" CssClass="errorp" Text="" />
            <asp:RequiredFieldValidator runat="server" ID="reqPassword" CssClass="errorp" ControlToValidate="tbPassword" ErrorMessage="Password is required!" ValidationGroup="loginControls">*</asp:RequiredFieldValidator><br />
            <asp:TextBox ID="tbPassword" runat="server" Width="196px" CssClass="loginControl" TextMode="Password" ValidationGroup="loginControls" />
        </p>
        <div>
            <div style="float:left;">
                <asp:Button ID="btnLogin" runat="server" Text="login" Width="95px" CssClass="loginControl" ValidationGroup="loginControls" OnClick="btnLogin_Click" />
            </div>
            <div style="float:right;">
                <asp:Button ID="btnForgot" runat="server" Text="reset password" Width="95px" CssClass="loginControl" OnClick="btnForgot_Click" />
            </div>
        </div>
        <div>
            <br />
            <asp:ValidationSummary ID="valsumLogin" runat="server" CssClass="errorp" ValidationGroup="loginControls" />
        </div>
    </div>

</asp:Content>
